<?php
include_once("../inc/Function.php");

if($_SESSION['a']['alevel']==3){
    $msg = false;
}else{
    $msg = true;
}
if($_SESSION['a']['alevel']==3){
    $tpl->assign('power',$power);
}
if($_SESSION['a']['alevel']==5){
    $level = true;
}else{
    $level = false;
}
$tpl->assign('results',$results);
$tpl->assign('level',$level);
$tpl->assign("msg",$msg);
$tpl->show('index');
?>